<?php
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);
require_once(DEDEINC."/datalistcp.class.php");
setcookie("ENV_GOBACK_URL", GetCurUrl(), time() + 3600, "/");
$type = empty($type) ? "sys" : trim($type);
$tpl = '';
$menutype = 'mystow';
$mid  = $cfg_ml->M_ID;
if(empty($mid)){
	header("Location: /user/");
	exit();
}
$sql = "select a.*,b.typename,b.bigpic from #@__mytypestow a left join #@__arctype b on a.tid = b.id where a.mid = '$mid' order by a.time desc";
$dlist = new DataListCP();
$dlist->pagesize = 10;
$dlist->SetTemplate(DEDEMEMBER."/templets/mystow.htm");
$dlist->SetSource($sql);
$dlist->Display();